
package com.cmcc.mss.psp_pms_importbuildingdesigninfosrvnet;

import java.math.BigDecimal;
import java.util.ArrayList;
import java.util.List;
import javax.xml.bind.annotation.XmlAccessType;
import javax.xml.bind.annotation.XmlAccessorType;
import javax.xml.bind.annotation.XmlElement;
import javax.xml.bind.annotation.XmlType;


/**
 * <p>Response complex type的 Java 类。
 *
 * <p>以下模式片段指定包含在此类中的预期内容。
 *
 * <pre>
 * &lt;complexType name="Response">
 *   &lt;complexContent>
 *     &lt;restriction base="{http://www.w3.org/2001/XMLSchema}anyType">
 *       &lt;sequence>
 *         &lt;element name="ErrorFlag" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="ErrorMessage" type="{http://www.w3.org/2001/XMLSchema}string"/>
 *         &lt;element name="TotalRecord" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="TotalPage" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="PageSize" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="CurrentPage" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="InstanceId" type="{http://www.w3.org/2001/XMLSchema}decimal"/>
 *         &lt;element name="BuildingDesignInfoSrvNetDataList" type="{http://mss.cmcc.com/PSP_PMS_ImportBuildingDesignInfoSrvNet}BuildingDesignInfoSrvNetData" maxOccurs="unbounded" minOccurs="0"/>
 *       &lt;/sequence>
 *     &lt;/restriction>
 *   &lt;/complexContent>
 * &lt;/complexType>
 * </pre>
 *
 *
 */
@XmlAccessorType(XmlAccessType.FIELD)
@XmlType(name = "Response", propOrder = {
        "errorFlag",
        "errorMessage",
        "totalRecord",
        "totalPage",
        "pageSize",
        "currentPage",
        "instanceId",
        "buildingDesignInfoSrvNetDataList"
})
public class Response {

    @XmlElement(name = "ErrorFlag", required = true, nillable = true)
    protected String errorFlag;
    @XmlElement(name = "ErrorMessage", required = true, nillable = true)
    protected String errorMessage;
    @XmlElement(name = "TotalRecord", required = true, nillable = true)
    protected BigDecimal totalRecord;
    @XmlElement(name = "TotalPage", required = true, nillable = true)
    protected BigDecimal totalPage;
    @XmlElement(name = "PageSize", required = true, nillable = true)
    protected BigDecimal pageSize;
    @XmlElement(name = "CurrentPage", required = true, nillable = true)
    protected BigDecimal currentPage;
    @XmlElement(name = "InstanceId", required = true, nillable = true)
    protected BigDecimal instanceId;
    @XmlElement(name = "BuildingDesignInfoSrvNetDataList")
    protected List<BuildingDesignInfoSrvNetData> buildingDesignInfoSrvNetDataList;

    /**
     * 获取errorFlag属性的值。
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getErrorFlag() {
        return errorFlag;
    }

    /**
     * 设置errorFlag属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setErrorFlag(String value) {
        this.errorFlag = value;
    }

    /**
     * 获取errorMessage属性的值。
     *
     * @return
     *     possible object is
     *     {@link String }
     *
     */
    public String getErrorMessage() {
        return errorMessage;
    }

    /**
     * 设置errorMessage属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link String }
     *
     */
    public void setErrorMessage(String value) {
        this.errorMessage = value;
    }

    /**
     * 获取totalRecord属性的值。
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    public BigDecimal getTotalRecord() {
        return totalRecord;
    }

    /**
     * 设置totalRecord属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setTotalRecord(BigDecimal value) {
        this.totalRecord = value;
    }

    /**
     * 获取totalPage属性的值。
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    public BigDecimal getTotalPage() {
        return totalPage;
    }

    /**
     * 设置totalPage属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setTotalPage(BigDecimal value) {
        this.totalPage = value;
    }

    /**
     * 获取pageSize属性的值。
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    public BigDecimal getPageSize() {
        return pageSize;
    }

    /**
     * 设置pageSize属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setPageSize(BigDecimal value) {
        this.pageSize = value;
    }

    /**
     * 获取currentPage属性的值。
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    public BigDecimal getCurrentPage() {
        return currentPage;
    }

    /**
     * 设置currentPage属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setCurrentPage(BigDecimal value) {
        this.currentPage = value;
    }

    /**
     * 获取instanceId属性的值。
     *
     * @return
     *     possible object is
     *     {@link BigDecimal }
     *
     */
    public BigDecimal getInstanceId() {
        return instanceId;
    }

    /**
     * 设置instanceId属性的值。
     *
     * @param value
     *     allowed object is
     *     {@link BigDecimal }
     *
     */
    public void setInstanceId(BigDecimal value) {
        this.instanceId = value;
    }

    /**
     * Gets the value of the buildingDesignInfoSrvNetDataList property.
     *
     * <p>
     * This accessor method returns a reference to the live list,
     * not a snapshot. Therefore any modification you make to the
     * returned list will be present inside the JAXB object.
     * This is why there is not a <CODE>set</CODE> method for the buildingDesignInfoSrvNetDataList property.
     *
     * <p>
     * For example, to add a new item, do as follows:
     * <pre>
     *    getBuildingDesignInfoSrvNetDataList().add(newItem);
     * </pre>
     *
     *
     * <p>
     * Objects of the following type(s) are allowed in the list
     * {@link BuildingDesignInfoSrvNetData }
     *
     *
     */
    public List<BuildingDesignInfoSrvNetData> getBuildingDesignInfoSrvNetDataList() {
        if (buildingDesignInfoSrvNetDataList == null) {
            buildingDesignInfoSrvNetDataList = new ArrayList<BuildingDesignInfoSrvNetData>();
        }
        return this.buildingDesignInfoSrvNetDataList;
    }

}
